package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("error")
@ApiModel(value = "ErrorPo",description = "错误信息相关Po")
public class ErrorPo {
  @TableId
  private long id;
  @ApiModelProperty(value = "错误信息对应主键")
  private long errorId;
  @ApiModelProperty(value = "错误信息对应的表")
  private String sqlTable;
  @ApiModelProperty(value = "错误信息对应的操作的类型")
  private long type;
  @ApiModelProperty(value = "错误信息实体数据json串")
  private String errorJson;
}
